/*
 * 百度在线网络技术（北京）有限公司拥有本软件版权2021并保留所有权利。
 * Copyright 2021, Baidu.com,Inc 2:Baidu Online Network Technology (Beijing) Co.,Ltd,
 * All rights reserved.
 */

package com.azdebugit.tree.tree.queue;
/*结点类*/
public class Node<T> {
 
	private T data;
	private Node<T> nextNode;
 
	public T getData() {
		return data;
	}
 
	public void setData(T data) {
		this.data = data;
	}
 
	public Node<T> getNextNode() {
		return nextNode;
	}
 
	public void setNextNode(Node<T> nextNode) {
		this.nextNode = nextNode;
	}
 
	public Node(T data, Node<T> nextNode) {
		super();
		this.data = data;
		this.nextNode = nextNode;
	}
 
}